<div id="body_container">
    <div class="detail_container">
      <div class="detail_box">
        <div class="detail_top_curve">
          <div class="detail_detail_content">
            <div class="welcomezone">
              <div style="margin-bottom:10px;">
                <div class="blueboldheading">
                  <h1><%= @profil.username %> informations</a></h1>
                </div>

<% someinfos = Information.find(@profil.id) rescue nil %>
<% if !someinfos.nil? %>
<center>
<% if @profil.photo.file? %>

<%= image_tag @profil.photo.url(:small) %>
<% else %>
<%= image_tag("d.png") %>
<% end %>
</center>
</br>
</br>
<p><strong>
Physical Appearance
</p></strong>
</br>
</br>


<%if someinfos.height %>
<%= someinfos.height.to_f/100.to_f %> meters.
<%end%>

</br>
</br>
<% if someinfos.morphology %>
I am <%= someinfos.morphology %>.
<% end %>

</br>
</br>
<% if someinfos.eyes %>
I have <%= someinfos.eyes %> eyes.
<% end %>

</br>
</br>
<% if someinfos.hair %>
I have <%= someinfos.hair %> hair.
<% end %>
</br>
</br>
</br>
</br>
<p2>
<p><strong>
Marital Informations
</p></strong>
</br>
</br>
<% if someinfos.typeofrelation %>
 I want a(n) <%= someinfos.typeofrelation %> relationship.
<% end %>
</br>
</br>
<% if someinfos.children %>
I have <%= someinfos.children %> children.
<% end %>

</br>
</br>
<% if someinfos.wantchildren %>
Do I want children? The response is <%= someinfos.wantchildren %>.
<% end %>
</br>
</br>
</br>
</br>
<p><strong>
Other Informations
</p></strong>
</br>
</br>
<% if someinfos.sign %>
 I am a(n) <%= someinfos.sign %>.
<% end %>

</br>
</br>
<% if someinfos.religion %>
I am a(n) <%= someinfos.religion %>.
<% end %>

</br>
</br>
<% if someinfos.salary %>
I earn approximately <%= someinfos.salary %> euros a year.
<% end %>

</br>
</br>
<% if someinfos.smoker %>
Do I smoke? <%= someinfos.smoker %>.
<% end %>

</br>
</br>

<% if someinfos.sport %>
I <%= someinfos.sport %> do sports.
<% end %>

<%else %>
<center>
<%= image_tag("d.png") %>
</br>
</br>
</br>

This user hasn't filled it informations yet.
</center>
<% end %>
</br>
</br>
</br>
</br>
</br>
</br>
</br>
</br>